diff -p -up libbinio-1.4/src/binwrap.cpp~ libbinio-1.4/src/binwrap.cpp
--- libbinio-1.4/src/binwrap.cpp~	2003-03-08 17:02:34.000000000 +0100
+++ libbinio-1.4/src/binwrap.cpp	2009-05-22 14:20:31.000000000 +0200
@@ -17,6 +17,7 @@
  * Copyright (C) 2002, 2003 Simon Peter <dn.tlp@gmx.net>
  */
 
+#include <cstdio>
 #include "binwrap.h"
 
#if BINIO_ENABLE_IOSTREAM 
